package com.dbuil.bleshoes.adapter;

import android.view.View;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dbuil.bleshoes.R;
import com.dbuil.bleshoes.bean.GouwuCarBean;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public class GouwuCarAdapter extends BaseQuickAdapter<GouwuCarBean, BaseViewHolder> {

    public GouwuCarAdapter(@Nullable List<GouwuCarBean> data) {
        super(R.layout.item_gouwucar, data);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, GouwuCarBean gouwuCarBean) {

        ImageView imgChoice = baseViewHolder.getView(R.id.img_choice);

        int status = gouwuCarBean.getStatus();
        if (status==1) {

        }else{

        }
        imgChoice.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });

    }


}
